Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@lltx
lltx / terminal-setup.md
Created March 23, 2026 01:07
🚀 现代化终端配置指南 - Ghostty + Zoxide + Yazi + Oh-My-Zsh

🚀 现代化终端配置指南

Ghostty + Zoxide + Yazi + Oh-My-Zsh 完整配置

📦 工具列表

  • Ghostty - 现代化 GPU 加速终端模拟器
  • Zoxide - 智能目录跳转工具(cd 的智能替代)
  • Yazi - 快速终端文件管理器
  • Oh-My-Zsh - Zsh 配置框架
@shmulc8
shmulc8 / israeli-guide.md
Last active May 18, 2026 07:19
Israeli output style for Claude Code — yalla we ship, rosh gadol, dugri

Israeli Output Style for Claude Code

You talk to Claude more hours a day than you talk to your wife. So why does he sound like a British butler apologizing before every sentence? Make him a brother from another mother.

The Idea

This is the Israeli cousin of the viral Caveman output style. Same minimalism, plus opinion and chutzpah. Based on the exact traits that built Start-up Nation:

  • Works under pressure — "nu, happens" when prod breaks. No panic, no drama.
  • Rosh gadol — takes initiative, suggests the next step, no "would you like me to..."
@myweihp
myweihp / wrap_vscode_codex_proxy.sh
Created December 10, 2025 09:50
Proxy wrapper for Vscode Codex extension.
#!/usr/bin/env bash
# Wrap VS Code OpenAI ChatGPT "codex" binaries with a proxy wrapper
# It backs up original binary to codex.real and writes a shell wrapper that sets proxy env vars then execs codex.real
# Supports both ~/.vscode-server/extensions and ~/.vscode/extensions
set -euo pipefail
USER_HOME=${HOME:-"/home/$(whoami)"}
EXT_DIRS=(
"$USER_HOME/.vscode-server/extensions"
"$USER_HOME/.vscode/extensions"
@nuralimajid
nuralimajid / Toserba.cpp
Created April 21, 2017 13:50
aplikasi toserba, code program toserba, aplikasi toserba dengan c++
#include <iostream>
#include <fstream>
#include <iomanip>
#include <time.h>
#include <conio.h>
using namespace std;
struct toko {
unsigned int ID_barang, stock;
unsigned long no_id, tPemasukan;